package cn;

import javax.swing.*;
import java.awt.*;

public class Bullet {
    //  在面板上的坐标
    int x,y;
    int width=50,hight=50;
    int speed=15;

    Image image=new ImageIcon("img/子弹.png").getImage();


    public Bullet(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public Bullet(int x, int y, int width, int hight) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.hight = hight;
    }
}
